package com.example.demo.clazz;

import cn.hutool.core.lang.ClassScanner;
import com.example.demo.sort.SortAlgorithmTemplate;

import java.util.Set;

/**
 * <pre>
 *  描述:
 * </pre>
 *
 * @author godelgnis(wujiaer)
 * @version 1.0.0
 * @date 2022/1/14 16:58
 */
public class ClassSacnner {

    public static void main(String[] args) {
        Set<Class<?>> classes = ClassScanner.scanPackageBySuper("com.example.demo.sort", SortAlgorithmTemplate.class);
        classes.forEach(System.out::println);
    }
}
